package com.boot.security.server.model.mffl;

import java.math.BigDecimal;
import java.util.Date;

import com.boot.security.server.model.BaseEntity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "用户数据")
public class MfflUser extends BaseEntity<Long> {

	//mall_user
    @ApiModelProperty(value = "后台id")
	private Integer userid;
    @ApiModelProperty(value = "身份标识(0用户,1律师)")
	private Integer identity;
    @ApiModelProperty(value = "真实姓名")
	private String realname;
    @ApiModelProperty(value = "律师执业证号")
	private String workCode;
    @ApiModelProperty(value = "地区名字 市级别")
	private String areaName;
    @ApiModelProperty(value = "地区id 市级别")
	private Integer comid;
    @ApiModelProperty(value = "律师所在律所")
	private String lawfirm;
    @ApiModelProperty(value = "律师执业证图片地址")
	private String workBootImage;
    @ApiModelProperty(value = "身份证号")
	private String idnumber;
    @ApiModelProperty(value = "身份证图片地址")
	private String idnumberImage;
    @ApiModelProperty(value = "律师擅长领域id")
	private String field;
    @ApiModelProperty(value = "律师寄语")
	private String content;
    @ApiModelProperty(value = "教育背景")
	private String education;
    @ApiModelProperty(value = "认证资质(律师)")
	private String thirdlevel;
    @ApiModelProperty(value = "律师服务人数")
	private Integer serverNumber;
    @ApiModelProperty(value = "律师好评率")
	private String rating;
    @JsonIgnore
    @ApiModelProperty(value = "openid")
	private String openid;
    @JsonIgnore
    @ApiModelProperty(value = "unionid")
	private String unionid;
    @ApiModelProperty(value = "区号")
	private String areaCode;
    @ApiModelProperty(value = "注册方式")
	private String registerMethod;
    @ApiModelProperty(value = "用户认证级别")
	private Integer level;
    @ApiModelProperty(value = "开始工作时间")
	private Date startWorkTime;
    @ApiModelProperty(value = "积分")
	private Integer integral;
    @ApiModelProperty(value = "等级积分")
	private String gradeIntegral;
    @ApiModelProperty(value = "律师全局查询")
	private String searchLike;
    @ApiModelProperty(value = "是否删除(0删除,1正常)")
	private Integer deleteState;
    @ApiModelProperty(value = "删除时间")
	private Date deleteTime;
    @JsonIgnore
    @ApiModelProperty(value = "金额")
	private Double money;
    @ApiModelProperty(value = "唯一用户名")
	private String Secondusername;
    @ApiModelProperty(value = "0未审核1审核通过2待审核3拒绝")
	private Integer lawyerInspect;
    @ApiModelProperty(value = "极光推送标识")
	private String jpush;
    @JsonIgnore
    @ApiModelProperty(value = "冻结金额")
	private Double frozenmoney;
    @ApiModelProperty(value = "律所编号")
    private String licensenumber;

	//sys_user
	@ApiModelProperty(value = "用户名")
	private String username;
	private String password;
	@ApiModelProperty(value = "昵称")
	private String nickname;
	@ApiModelProperty(value = "用户头像图片")
	private String headImgUrl;
	@ApiModelProperty(value = "手机号")
	private String phone;
	private String telephone;
	@ApiModelProperty(value = "邮箱")
	private String email;
	private Date birthday;
	private Integer sex;
	@ApiModelProperty(value = "状态  1正常  2锁定")
	private Integer status;

    public String getLicensenumber() {
        return licensenumber;
    }

    public void setLicensenumber(String licensenumber) {
        this.licensenumber = licensenumber;
    }

    public Double getFrozenmoney() {
        return frozenmoney;
    }

    public void setFrozenmoney(BigDecimal frozenmoney) {
        this.frozenmoney = frozenmoney.doubleValue();
    }

    public String getSecondusername() {
        return Secondusername;
    }

    public void setSecondusername(String secondusername) {
        Secondusername = secondusername;
    }

	public Double getMoney() {
		return money;
	}

	public void setMoney(BigDecimal b1) {
		this.money = b1.doubleValue();
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getHeadImgUrl() {
		return headImgUrl;
	}

	public void setHeadImgUrl(String headImgUrl) {
		this.headImgUrl = headImgUrl;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}



	public Integer getLawyerInspect() {
		return lawyerInspect;
	}

	public void setLawyerInspect(Integer lawyerInspect) {
		this.lawyerInspect = lawyerInspect;
	}

	public Integer getUserid() {
		return userid;
	}
	public void setUserid(Integer userid) {
		this.userid = userid;
	}
	public String getRealname() {
		return realname;
	}
	public void setRealname(String realname) {
		this.realname = realname;
	}
	public String getIdnumber() {
		return idnumber;
	}
	public void setIdnumber(String idnumber) {
		this.idnumber = idnumber;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public String getUnionid() {
		return unionid;
	}
	public void setUnionid(String unionid) {
		this.unionid = unionid;
	}
	public String getAreaCode() {
		return areaCode;
	}
	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}
	public String getRegisterMethod() {
		return registerMethod;
	}
	public void setRegisterMethod(String registerMethod) {
		this.registerMethod = registerMethod;
	}
	public String getAreaName() {
		return areaName;
	}
	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	public Integer getComid() {
		return comid;
	}
	public void setComid(Integer comid) {
		this.comid = comid;
	}
	public String getThirdlevel() {
		return thirdlevel;
	}
	public void setThirdlevel(String thirdlevel) {
		this.thirdlevel = thirdlevel;
	}
	public Integer getLevel() {
		return level;
	}
	public void setLevel(Integer level) {
		this.level = level;
	}
	public Integer getIdentity() {
		return identity;
	}
	public void setIdentity(Integer identity) {
		this.identity = identity;
	}
	public Date getStartWorkTime() {
		return startWorkTime;
	}
	public void setStartWorkTime(Date startWorkTime) {
		this.startWorkTime = startWorkTime;
	}
	public String getWorkCode() {
		return workCode;
	}
	public void setWorkCode(String workCode) {
		this.workCode = workCode;
	}
	public String getLawfirm() {
		return lawfirm;
	}
	public void setLawfirm(String lawfirm) {
		this.lawfirm = lawfirm;
	}
	public String getField() {
		return field;
	}
	public void setField(String field) {
		this.field = field;
	}
	public Integer getServerNumber() {
		return serverNumber;
	}
	public void setServerNumber(Integer serverNumber) {
		this.serverNumber = serverNumber;
	}
	public String getRating() {
		return rating;
	}
	public void setRating(String rating) {
		this.rating = rating;
	}
	public String getWorkBootImage() {
		return workBootImage;
	}
	public void setWorkBootImage(String workBootImage) {
		this.workBootImage = workBootImage;
	}
	public String getEducation() {
		return education;
	}
	public void setEducation(String education) {
		this.education = education;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Integer getIntegral() {
		return integral;
	}
	public void setIntegral(Integer integral) {
		this.integral = integral;
	}
	public String getGradeIntegral() {
		return gradeIntegral;
	}
	public void setGradeIntegral(String gradeIntegral) {
		this.gradeIntegral = gradeIntegral;
	}
	public String getSearchLike() {
		return searchLike;
	}
	public void setSearchLike(String searchLike) {
		this.searchLike = searchLike;
	}
	public Integer getDeleteState() {
		return deleteState;
	}
	public void setDeleteState(Integer deleteState) {
		this.deleteState = deleteState;
	}
	public Date getDeleteTime() {
		return deleteTime;
	}
	public void setDeleteTime(Date deleteTime) {
		this.deleteTime = deleteTime;
	}

	public String getJpush() {
		return jpush;
	}

	public void setJpush(String jpush) {
		this.jpush = jpush;
	}


	public String getIdnumberImage() {
		return idnumberImage;
	}

	public void setIdnumberImage(String idnumberImage) {
		this.idnumberImage = idnumberImage;
	}

	@Override
	public String toString() {
		return "MfflUser{" +
				"userid=" + userid +
				", identity=" + identity +
				", realname='" + realname + '\'' +
				", workCode='" + workCode + '\'' +
				", areaName='" + areaName + '\'' +
				", comid=" + comid +
				", lawfirm='" + lawfirm + '\'' +
				", workBootImage='" + workBootImage + '\'' +
				", idnumber='" + idnumber + '\'' +
				", idnumberImage='" + idnumberImage + '\'' +
				", field='" + field + '\'' +
				", content='" + content + '\'' +
				", education='" + education + '\'' +
				", thirdlevel='" + thirdlevel + '\'' +
				", serverNumber=" + serverNumber +
				", rating=" + rating +
				", openid='" + openid + '\'' +
				", unionid='" + unionid + '\'' +
				", areaCode='" + areaCode + '\'' +
				", registerMethod='" + registerMethod + '\'' +
				", level=" + level +
				", startWorkTime=" + startWorkTime +
				", integral=" + integral +
				", gradeIntegral='" + gradeIntegral + '\'' +
				", searchLike='" + searchLike + '\'' +
				", deleteState=" + deleteState +
				", deleteTime=" + deleteTime +
				", money=" + money +
				", Secondusername='" + Secondusername + '\'' +
				", lawyerInspect=" + lawyerInspect +
				", jpush='" + jpush + '\'' +
				", username='" + username + '\'' +
				", password='" + password + '\'' +
				", nickname='" + nickname + '\'' +
				", headImgUrl='" + headImgUrl + '\'' +
				", phone='" + phone + '\'' +
				", telephone='" + telephone + '\'' +
				", email='" + email + '\'' +
				", birthday=" + birthday +
				", sex=" + sex +
				", status=" + status +
				'}';
	}
}
